package com.woniuxy.platform.service;

import com.woniuxy.core.util.PageInfo;
import com.woniuxy.platform.dao.PlatformAccount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.platform.model.dto.PlatformLoginDto;
import com.woniuxy.platform.model.form.AddpaltformForm;
import com.woniuxy.platform.model.param.LoadAllpaltforminfoParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 凌玉春
 * @since 2024年01月15日
 */
public interface PlatformAccountService extends IService<PlatformAccount> {

    void test();

    void paltformregister(AddpaltformForm form);


    PlatformLoginDto paltformlogin(AddpaltformForm form);

    PageInfo<PlatformAccount> LoadALLplatform(LoadAllpaltforminfoParam param, String id);

    PlatformAccount updateplatformState(Integer id, Integer platformId);

    PlatformAccount LoadAdminByPlatformAccount(String platformAccounts);

    PlatformAccount delplatformState(Integer id, Integer platformId);

    PageInfo<PlatformAccount> LoadALLplatforms(LoadAllpaltforminfoParam param, String id);
}
